2.6 [Libraries] Section Processing

This section specifies all the EDK INF files that must be processed to build the libraries used to build the individual EDK components. This will include all the libraries called out in the individual component INF files. A sample section is listed below. Each line from the libraries section specifies a library component's INF file (relative to $(EDK_SOURCE), or absolute path).

This section is required for any EDK II DSC file that specifies one or more EDK components. If only EDK II Modules are used, this section must not be specified. If the section is specified, and only EDK II Modules are found, the build and parsing tools will ignore this section. A warning message will be emitted by the parsing tool if and only the parsing tool is executed in a verbose mode.

The !include statements may be used within the [Libraries] section.

The file specified after the !include statement can only contain a list of EDK Library INF files (with the path to the file). If the line starts with a word, rather than a variable like $(EDK_SOURCE) the path is assumed to be relative to $(EDK_SOURCE). Again, only EDK Library INF files are permitted in the file specified in the !include statement.

This section will typically use one of the following section definitions:

[Libraries.common]
[Libraries.IA32]
[Libraries.X64]
[Libraries.IPF]
[Libraries.EBC]

The formats for entries in this section is:

$(EDK_SOURCE)/Path/to/LibraryName.inf
$(CUSTOM_DECOMPRESS_LIB_INF)